<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1.0">
        <title></title>
    </head>
    <body>
        <script>
            function makeSalary(base){
                return function(jixiao){
                    return base+jixiao
                }
            }
            let level1 = makeSalary(1000)
            let level2 = makeSalary(1500)
            console.log(level1(800))
            console.log(level2(900))
            
        </script>
    </body>
</html>